#pragma once
#include<string>
#include<mysql/mysql.h>
#include"DBConnPool.h"
class UserInfoDAO {
public:
	static bool vertify(const std::string& username, const std::string& password, std::string& result, DBConnPtr m_SQLCON = nullptr);
	static bool findUser(const std::string& username, std::string& result, DBConnPtr m_SQLCON = nullptr);
	static bool registUser(const std::string& username, const std::string& password, std::string& result, DBConnPtr m_SQLCON = nullptr);
};
